<%@ page contentType="text/html; charset=utf-8" language="java"    pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>欢迎光临北京清真俄丽娅西点</title>
		<meta name="Generator" content="俄丽娅" />
		<meta name="Keywords" content="俄丽娅,蛋糕,五环内免费送货,北京俄丽娅,北京清真生日蛋糕" /> 
		<meta name="Description" content="北京俄丽娅清真西点_拥有清真乳酪蛋糕、慕斯蛋糕、巧克力蛋糕、乳脂奶油蛋糕和冰淇淋蛋糕五个系列30款主题蛋糕。" />
		
        <link rel="icon" type="image/gif" href="images/icon.gif" />
        <link rel="stylesheet" type="text/css" href="style/global.css" media="all" />
		<link rel="stylesheet" type="text/css" href="style/common.css" media="all" />
		<link rel="stylesheet" type="text/css" href="style/detail.css" media="all" />
		<link rel="stylesheet" type="text/css" href="style/style.css" />
		<link rel="stylesheet" type="text/css" href="style/thickbox.css" media="screen" />
		<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
		<script type="text/javascript" src="js/thickbox.js"></script>
		<script type="text/javascript">
				function commentContent(){
					var commentTitle=jQuery("#commentTitle").val();
					var commentContent=jQuery("#commentContent").val();
					jQuery.post("addCommentBase",{commentTitle:commentTitle,commentContent:commentContent,r:Math.random()},function(json){
						if(json.success==1){
							 alert('评论成功');
							 location.href="index.html";
						}else{
							 alert('操作频繁，请稍后重试');
						}
					},"json");
				}
		</script>
    </head>
    <body>
        <div class="container">
			<jsp:include page="header.jsp" />
			<div class="main">
				<div class="onlyline ml10 mr10"></div>
				 
				<div class="section">
					<div class="feedback">
					
						<h4 class="infoTit">发表点评：</h4>
							<table class="commentTable">
								<tr>
									<td>评论标题：</td>
									<td><input type="text" name="" id="commentTitle" /></td>
								</tr>
								<tr>
									<td>评论内容：</td>
									<td><textarea rows="3" cols="20" id="commentContent"></textarea></td>
								</tr>
								<!-- 
									<tr>
										<td>验证码：</td>
										<td class="checkBox"><input type="text" name="" id="checkCode" /><span><img src="images/banner.jpg" alt="" width="78" height="20"/></span><a href="#">看不清？更换一张</a></td>
									</tr>
								 -->
								<tr>
									<td></td>
									<td class="subBox"><a href="javascript:commentContent()" class="button orange mr10">提 交</a></td>
								</tr>
							</table>
					</div>
				</div>			
			</div>
		</div>
	<jsp:include page="footer.jsp" />
	

    </body>
</html>
